package matlap.database.jdbc;

import matlap.database.dao.ArticleDAO;
import matlap.database.dao.DAOFactory;
import matlap.database.dao.DeadlineDAO;
import matlap.database.dao.SchoolDAO;
import matlap.database.dao.StudentDAO;
import matlap.database.dao.TaskDAO;
import matlap.database.dao.TeacherDAO;
import matlap.database.dao.UserDAO;
import matlap.database.dao.DistributorDAO;
import matlap.database.dao.NewsDAO;
import matlap.database.dao.OrderDAO;
import matlap.database.dao.RegistrationDAO;

public class JdbcDAOFactory extends DAOFactory {

	public DeadlineDAO getDeadlineDAO() {
		return new DeadlineJdbcDAO();
	}

	public SchoolDAO getSchoolDAO() {
		return new SchoolJdbcDAO();
	}

	public StudentDAO getStudentDAO() {
		return new StudentJdbcDAO();
	}

	public TaskDAO getTaskDAO() {
		return new TaskJdbcDAO();
	}

	public TeacherDAO getTeacherDAO() {
		return new TeacherJdbcDAO();
	}

	public UserDAO getUserDAO() {
		return new UserJdbcDAO();
	}

	public ArticleDAO getArticleDAO() {
		return new ArticleJdbcDAO();
	}

	public DistributorDAO getDistributorDAO() {
		return new DistributorJdbcDAO();
	}

	public NewsDAO getNewsDAO() {
		return new NewsJdbcDAO();
	}

	public OrderDAO getOrderDAO() {
		return new OrderJdbcDAO();
	}

	public RegistrationDAO getRegistrationDAO() {
		return new RegistrationJdbcDAO();
	}

}
